/*
*
* SPDX-License-Identifier: GPL-2.0
*
* Copyright (C) 2011-2018 ARM or its affiliates
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; version 2.
* This program is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* for more details.
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*
*/
#if !defined(__SC8238CS_SEQ_H__)
#define __SC8238CS_SEQ_H__

static acam_reg_t linear_1920_1080_30fps_702Mbps_4lane_10bits_crop[] = {
    {0x0103, 0x01, 0xFF, 1},
    {0x0100, 0x00, 0xFF, 1},
    {0x36e9, 0x80, 0xFF, 1},
    {0x36f9, 0x80, 0xFF, 1},
    {0x3018, 0x72, 0xFF, 1},
    {0x3019, 0x00, 0xFF, 1},
    {0x301f, 0x02, 0xFF, 1},
    {0x3031, 0x0a, 0xFF, 1},
    {0x3037, 0x20, 0xFF, 1},
    {0x3038, 0x44, 0xFF, 1},
    {0x3200, 0x03, 0xFF, 1},//crop
    {0x3201, 0xcc, 0xFF, 1},
    {0x3202, 0x02, 0xFF, 1},
    {0x3203, 0x28, 0xFF, 1},
    {0x3204, 0x0b, 0xFF, 1},
    {0x3205, 0x53, 0xFF, 1},
    {0x3206, 0x06, 0xFF, 1},
    {0x3207, 0x67, 0xFF, 1},
    {0x3208, 0x07, 0xFF, 1},
    {0x3209, 0x80, 0xFF, 1},
    {0x320a, 0x04, 0xFF, 1},
    {0x320b, 0x38, 0xFF, 1},
    {0x320c, 0x08, 0xFF, 1},
    {0x320d, 0x20, 0xFF, 1},
    {0x320e, 0x08, 0xFF, 1},//VTS
    {0x320f, 0xca, 0xFF, 1},//VTS
    {0x3210, 0x00, 0xFF, 1},
    {0x3211, 0x04, 0xFF, 1},
    {0x3212, 0x00, 0xFF, 1},
    {0x3213, 0x04, 0xFF, 1},
    {0x3241, 0x00, 0xFF, 1},
    {0x3243, 0x03, 0xFF, 1},
    {0x3248, 0x04, 0xFF, 1},
    {0x3271, 0x1c, 0xFF, 1},
    {0x3273, 0x1f, 0xFF, 1},
    {0x3301, 0x1c, 0xFF, 1},
    {0x3306, 0xa8, 0xFF, 1},
    {0x3308, 0x20, 0xFF, 1},
    {0x3309, 0x68, 0xFF, 1},
    {0x330b, 0x48, 0xFF, 1},
    {0x330d, 0x28, 0xFF, 1},
    {0x330e, 0x58, 0xFF, 1},
    {0x3314, 0x94, 0xFF, 1},
    {0x331f, 0x59, 0xFF, 1},
    {0x3332, 0x24, 0xFF, 1},
    {0x334c, 0x10, 0xFF, 1},
    {0x3350, 0x24, 0xFF, 1},
    {0x3358, 0x24, 0xFF, 1},
    {0x335c, 0x24, 0xFF, 1},
    {0x335d, 0x60, 0xFF, 1},
    {0x3364, 0x16, 0xFF, 1},
    {0x3366, 0x92, 0xFF, 1},
    {0x3367, 0x08, 0xFF, 1},
    {0x3368, 0x07, 0xFF, 1},
    {0x3369, 0x00, 0xFF, 1},
    {0x336a, 0x00, 0xFF, 1},
    {0x336b, 0x00, 0xFF, 1},
    {0x336c, 0xc2, 0xFF, 1},
    {0x337f, 0x33, 0xFF, 1},
    {0x3390, 0x08, 0xFF, 1},
    {0x3391, 0x18, 0xFF, 1},
    {0x3392, 0x38, 0xFF, 1},
    {0x3393, 0x1c, 0xFF, 1},
    {0x3394, 0x28, 0xFF, 1},
    {0x3395, 0x60, 0xFF, 1},
    {0x3396, 0x08, 0xFF, 1},
    {0x3397, 0x18, 0xFF, 1},
    {0x3398, 0x38, 0xFF, 1},
    {0x3399, 0x1c, 0xFF, 1},
    {0x339a, 0x1c, 0xFF, 1},
    {0x339b, 0x28, 0xFF, 1},
    {0x339c, 0x60, 0xFF, 1},
    {0x339e, 0x24, 0xFF, 1},
    {0x33aa, 0x24, 0xFF, 1},
    {0x33af, 0x48, 0xFF, 1},
    {0x33e1, 0x08, 0xFF, 1},
    {0x33e2, 0x18, 0xFF, 1},
    {0x33e3, 0x10, 0xFF, 1},
    {0x33e4, 0x0c, 0xFF, 1},
    {0x33e5, 0x10, 0xFF, 1},
    {0x33e6, 0x06, 0xFF, 1},
    {0x33e7, 0x02, 0xFF, 1},
    {0x33e8, 0x18, 0xFF, 1},
    {0x33e9, 0x10, 0xFF, 1},
    {0x33ea, 0x0c, 0xFF, 1},
    {0x33eb, 0x10, 0xFF, 1},
    {0x33ec, 0x04, 0xFF, 1},
    {0x33ed, 0x02, 0xFF, 1},
    {0x33ee, 0xa0, 0xFF, 1},
    {0x33ef, 0x08, 0xFF, 1},
    {0x33f4, 0x18, 0xFF, 1},
    {0x33f5, 0x10, 0xFF, 1},
    {0x33f6, 0x0c, 0xFF, 1},
    {0x33f7, 0x10, 0xFF, 1},
    {0x33f8, 0x06, 0xFF, 1},
    {0x33f9, 0x02, 0xFF, 1},
    {0x33fa, 0x18, 0xFF, 1},
    {0x33fb, 0x10, 0xFF, 1},
    {0x33fc, 0x0c, 0xFF, 1},
    {0x33fd, 0x10, 0xFF, 1},
    {0x33fe, 0x04, 0xFF, 1},
    {0x33ff, 0x02, 0xFF, 1},
    {0x360f, 0x01, 0xFF, 1},
    {0x3622, 0xf7, 0xFF, 1},
    {0x3624, 0x45, 0xFF, 1},
    {0x3628, 0x83, 0xFF, 1},
    {0x3630, 0x80, 0xFF, 1},
    {0x3631, 0x80, 0xFF, 1},
    {0x3632, 0x98, 0xFF, 1},
    {0x3633, 0x53, 0xFF, 1},
    {0x3635, 0x02, 0xFF, 1},
    {0x3637, 0x52, 0xFF, 1},
    {0x3638, 0x0a, 0xFF, 1},
    {0x363a, 0x88, 0xFF, 1},
    {0x363b, 0x06, 0xFF, 1},
    {0x363d, 0x01, 0xFF, 1},
    {0x363e, 0x00, 0xFF, 1},
    {0x3641, 0x00, 0xFF, 1},
    {0x3670, 0x4a, 0xFF, 1},
    {0x3671, 0xf7, 0xFF, 1},
    {0x3672, 0xf7, 0xFF, 1},
    {0x3673, 0x17, 0xFF, 1},
    {0x3674, 0x80, 0xFF, 1},
    {0x3675, 0x85, 0xFF, 1},
    {0x3676, 0xa5, 0xFF, 1},
    {0x367a, 0x48, 0xFF, 1},
    {0x367b, 0x78, 0xFF, 1},
    {0x367c, 0x48, 0xFF, 1},
    {0x367d, 0x78, 0xFF, 1},
    {0x3690, 0x53, 0xFF, 1},
    {0x3691, 0x63, 0xFF, 1},
    {0x3692, 0x54, 0xFF, 1},
    {0x3699, 0x88, 0xFF, 1},
    {0x369a, 0x9f, 0xFF, 1},
    {0x369b, 0x9f, 0xFF, 1},
    {0x369c, 0x48, 0xFF, 1},
    {0x369d, 0x78, 0xFF, 1},
    {0x36a2, 0x48, 0xFF, 1},
    {0x36a3, 0x78, 0xFF, 1},
    {0x36bb, 0x48, 0xFF, 1},
    {0x36bc, 0x78, 0xFF, 1},
    {0x36c9, 0x05, 0xFF, 1},
    {0x36ca, 0x05, 0xFF, 1},
    {0x36cb, 0x05, 0xFF, 1},
    {0x36cc, 0x00, 0xFF, 1},
    {0x36cd, 0x10, 0xFF, 1},
    {0x36ce, 0x1a, 0xFF, 1},
    {0x36d0, 0x30, 0xFF, 1},
    {0x36d1, 0x48, 0xFF, 1},
    {0x36d2, 0x78, 0xFF, 1},
    {0x36ea, 0x73, 0xFF, 1},
    {0x36eb, 0x04, 0xFF, 1},
    {0x36ec, 0x05, 0xFF, 1},
    {0x36ed, 0x14, 0xFF, 1},
    {0x36fa, 0x73, 0xFF, 1},
    {0x36fb, 0x11, 0xFF, 1},
    {0x36fc, 0x00, 0xFF, 1},
    {0x36fd, 0x07, 0xFF, 1},
    {0x3901, 0x00, 0xFF, 1},
    {0x3902, 0xc5, 0xFF, 1},
    {0x3904, 0x18, 0xFF, 1},
    {0x3905, 0xd8, 0xFF, 1},
    {0x394c, 0x0f, 0xFF, 1},
    {0x394d, 0x20, 0xFF, 1},
    {0x394e, 0x08, 0xFF, 1},
    {0x394f, 0x90, 0xFF, 1},
    {0x3980, 0x71, 0xFF, 1},
    {0x3981, 0x70, 0xFF, 1},
    {0x3982, 0x00, 0xFF, 1},
    {0x3983, 0x00, 0xFF, 1},
    {0x3984, 0x20, 0xFF, 1},
    {0x3987, 0x0b, 0xFF, 1},
    {0x3990, 0x03, 0xFF, 1},
    {0x3991, 0xfd, 0xFF, 1},
    {0x3992, 0x03, 0xFF, 1},
    {0x3993, 0xfc, 0xFF, 1},
    {0x3994, 0x00, 0xFF, 1},
    {0x3995, 0x00, 0xFF, 1},
    {0x3996, 0x00, 0xFF, 1},
    {0x3997, 0x05, 0xFF, 1},
    {0x3998, 0x00, 0xFF, 1},
    {0x3999, 0x09, 0xFF, 1},
    {0x399a, 0x00, 0xFF, 1},
    {0x399b, 0x12, 0xFF, 1},
    {0x399c, 0x00, 0xFF, 1},
    {0x399d, 0x12, 0xFF, 1},
    {0x399e, 0x00, 0xFF, 1},
    {0x399f, 0x18, 0xFF, 1},
    {0x39a0, 0x00, 0xFF, 1},
    {0x39a1, 0x14, 0xFF, 1},
    {0x39a2, 0x03, 0xFF, 1},
    {0x39a3, 0xe3, 0xFF, 1},
    {0x39a4, 0x03, 0xFF, 1},
    {0x39a5, 0xf2, 0xFF, 1},
    {0x39a6, 0x03, 0xFF, 1},
    {0x39a7, 0xf6, 0xFF, 1},
    {0x39a8, 0x03, 0xFF, 1},
    {0x39a9, 0xfa, 0xFF, 1},
    {0x39aa, 0x03, 0xFF, 1},
    {0x39ab, 0xff, 0xFF, 1},
    {0x39ac, 0x00, 0xFF, 1},
    {0x39ad, 0x06, 0xFF, 1},
    {0x39ae, 0x00, 0xFF, 1},
    {0x39af, 0x09, 0xFF, 1},
    {0x39b0, 0x00, 0xFF, 1},
    {0x39b1, 0x12, 0xFF, 1},
    {0x39b2, 0x00, 0xFF, 1},
    {0x39b3, 0x22, 0xFF, 1},
    {0x39b4, 0x0c, 0xFF, 1},
    {0x39b5, 0x1c, 0xFF, 1},
    {0x39b6, 0x38, 0xFF, 1},
    {0x39b7, 0x5b, 0xFF, 1},
    {0x39b8, 0x50, 0xFF, 1},
    {0x39b9, 0x38, 0xFF, 1},
    {0x39ba, 0x20, 0xFF, 1},
    {0x39bb, 0x10, 0xFF, 1},
    {0x39bc, 0x0c, 0xFF, 1},
    {0x39bd, 0x16, 0xFF, 1},
    {0x39be, 0x21, 0xFF, 1},
    {0x39bf, 0x36, 0xFF, 1},
    {0x39c0, 0x3b, 0xFF, 1},
    {0x39c1, 0x2a, 0xFF, 1},
    {0x39c2, 0x16, 0xFF, 1},
    {0x39c3, 0x0c, 0xFF, 1},
    {0x39c5, 0x30, 0xFF, 1},
    {0x39c6, 0x07, 0xFF, 1},
    {0x39c7, 0xf8, 0xFF, 1},
    {0x39c9, 0x07, 0xFF, 1},
    {0x39ca, 0xf8, 0xFF, 1},
    {0x39cc, 0x00, 0xFF, 1},
    {0x39cd, 0x1b, 0xFF, 1},
    {0x39ce, 0x00, 0xFF, 1},
    {0x39cf, 0x00, 0xFF, 1},
    {0x39d0, 0x1b, 0xFF, 1},
    {0x39d1, 0x00, 0xFF, 1},
    {0x39e2, 0x15, 0xFF, 1},
    {0x39e3, 0x87, 0xFF, 1},
    {0x39e4, 0x12, 0xFF, 1},
    {0x39e5, 0xb7, 0xFF, 1},
    {0x39e6, 0x00, 0xFF, 1},
    {0x39e7, 0x8c, 0xFF, 1},
    {0x39e8, 0x01, 0xFF, 1},
    {0x39e9, 0x31, 0xFF, 1},
    {0x39ea, 0x01, 0xFF, 1},
    {0x39eb, 0xd7, 0xFF, 1},
    {0x39ec, 0x08, 0xFF, 1},
    {0x39ed, 0x00, 0xFF, 1},
    {0x3e00, 0x01, 0xFF, 1},
    {0x3e01, 0x18, 0xFF, 1},
    {0x3e02, 0xa0, 0xFF, 1},
    {0x3e08, 0x03, 0xFF, 1},
    {0x3e09, 0x40, 0xFF, 1},
    {0x3e0e, 0x09, 0xFF, 1},
    {0x3e14, 0x31, 0xFF, 1},
    {0x3e16, 0x00, 0xFF, 1},
    {0x3e17, 0xac, 0xFF, 1},
    {0x3e18, 0x00, 0xFF, 1},
    {0x3e19, 0xac, 0xFF, 1},
    {0x3e1b, 0x3a, 0xFF, 1},
    {0x3e1e, 0x76, 0xFF, 1},
    {0x3e25, 0x23, 0xFF, 1},
    {0x3e26, 0x40, 0xFF, 1},
    {0x4501, 0xa4, 0xFF, 1},
    {0x4509, 0x10, 0xFF, 1},
    {0x4837, 0x1c, 0xFF, 1},
    {0x5799, 0x06, 0xFF, 1},
    {0x57aa, 0x2f, 0xFF, 1},
    {0x57ab, 0xff, 0xFF, 1},
    {0x36e9, 0x51, 0xFF, 1},
    {0x36f9, 0x35, 0xFF, 1},
    //{0x0100, 0x01, 0xFF, 1}, //stream on

    { 0x0000, 0x0000, 0x0000, 0x0000 },
};

static acam_reg_t linear_3840_2160_30fps_702Mbps_4lane_10bits[] = {
    {0x0103, 0x01, 0xFF, 1},
    {0x0100, 0x00, 0xFF, 1},
    {0x36e9, 0x80, 0xFF, 1},
    {0x36f9, 0x80, 0xFF, 1},
    {0x3018, 0x72, 0xFF, 1},
    {0x3019, 0x00, 0xFF, 1},
    {0x301f, 0x02, 0xFF, 1},
    {0x3031, 0x0a, 0xFF, 1},
    {0x3037, 0x20, 0xFF, 1},
    {0x3038, 0x44, 0xFF, 1},
    {0x3200, 0x00, 0xFF, 1}, //crop
    {0x3201, 0x0c, 0xFF, 1},
    {0x3202, 0x00, 0xFF, 1},
    {0x3203, 0x0c, 0xFF, 1},
    {0x3204, 0x0f, 0xFF, 1},
    {0x3205, 0x13, 0xFF, 1},
    {0x3206, 0x08, 0xFF, 1},
    {0x3207, 0x83, 0xFF, 1},
    {0x3208, 0x0f, 0xFF, 1},
    {0x3209, 0x00, 0xFF, 1},
    {0x320a, 0x08, 0xFF, 1},
    {0x320b, 0x70, 0xFF, 1},
    {0x320c, 0x08, 0xFF, 1},
    {0x320d, 0x20, 0xFF, 1},
    {0x320e, 0x08, 0xFF, 1}, //VTS
    {0x320f, 0xca, 0xFF, 1}, //VTS
    {0x3210, 0x00, 0xFF, 1},
    {0x3211, 0x04, 0xFF, 1},
    {0x3212, 0x00, 0xFF, 1},
    {0x3213, 0x04, 0xFF, 1},
    {0x3241, 0x00, 0xFF, 1},
    {0x3243, 0x03, 0xFF, 1},
    {0x3248, 0x04, 0xFF, 1},
    {0x3271, 0x1c, 0xFF, 1},
    {0x3273, 0x1f, 0xFF, 1},
    {0x3301, 0x1c, 0xFF, 1},
    {0x3306, 0xa8, 0xFF, 1},
    {0x3308, 0x20, 0xFF, 1},
    {0x3309, 0x68, 0xFF, 1},
    {0x330b, 0x48, 0xFF, 1},
    {0x330d, 0x28, 0xFF, 1},
    {0x330e, 0x58, 0xFF, 1},
    {0x3314, 0x94, 0xFF, 1},
    {0x331f, 0x59, 0xFF, 1},
    {0x3332, 0x24, 0xFF, 1},
    {0x334c, 0x10, 0xFF, 1},
    {0x3350, 0x24, 0xFF, 1},
    {0x3358, 0x24, 0xFF, 1},
    {0x335c, 0x24, 0xFF, 1},
    {0x335d, 0x60, 0xFF, 1},
    {0x3364, 0x16, 0xFF, 1},
    {0x3366, 0x92, 0xFF, 1},
    {0x3367, 0x08, 0xFF, 1},
    {0x3368, 0x07, 0xFF, 1},
    {0x3369, 0x00, 0xFF, 1},
    {0x336a, 0x00, 0xFF, 1},
    {0x336b, 0x00, 0xFF, 1},
    {0x336c, 0xc2, 0xFF, 1},
    {0x337f, 0x33, 0xFF, 1},
    {0x3390, 0x08, 0xFF, 1},
    {0x3391, 0x18, 0xFF, 1},
    {0x3392, 0x38, 0xFF, 1},
    {0x3393, 0x1c, 0xFF, 1},
    {0x3394, 0x28, 0xFF, 1},
    {0x3395, 0x60, 0xFF, 1},
    {0x3396, 0x08, 0xFF, 1},
    {0x3397, 0x18, 0xFF, 1},
    {0x3398, 0x38, 0xFF, 1},
    {0x3399, 0x1c, 0xFF, 1},
    {0x339a, 0x1c, 0xFF, 1},
    {0x339b, 0x28, 0xFF, 1},
    {0x339c, 0x60, 0xFF, 1},
    {0x339e, 0x24, 0xFF, 1},
    {0x33aa, 0x24, 0xFF, 1},
    {0x33af, 0x48, 0xFF, 1},
    {0x33e1, 0x08, 0xFF, 1},
    {0x33e2, 0x18, 0xFF, 1},
    {0x33e3, 0x10, 0xFF, 1},
    {0x33e4, 0x0c, 0xFF, 1},
    {0x33e5, 0x10, 0xFF, 1},
    {0x33e6, 0x06, 0xFF, 1},
    {0x33e7, 0x02, 0xFF, 1},
    {0x33e8, 0x18, 0xFF, 1},
    {0x33e9, 0x10, 0xFF, 1},
    {0x33ea, 0x0c, 0xFF, 1},
    {0x33eb, 0x10, 0xFF, 1},
    {0x33ec, 0x04, 0xFF, 1},
    {0x33ed, 0x02, 0xFF, 1},
    {0x33ee, 0xa0, 0xFF, 1},
    {0x33ef, 0x08, 0xFF, 1},
    {0x33f4, 0x18, 0xFF, 1},
    {0x33f5, 0x10, 0xFF, 1},
    {0x33f6, 0x0c, 0xFF, 1},
    {0x33f7, 0x10, 0xFF, 1},
    {0x33f8, 0x06, 0xFF, 1},
    {0x33f9, 0x02, 0xFF, 1},
    {0x33fa, 0x18, 0xFF, 1},
    {0x33fb, 0x10, 0xFF, 1},
    {0x33fc, 0x0c, 0xFF, 1},
    {0x33fd, 0x10, 0xFF, 1},
    {0x33fe, 0x04, 0xFF, 1},
    {0x33ff, 0x02, 0xFF, 1},
    {0x360f, 0x01, 0xFF, 1},
    {0x3622, 0xf7, 0xFF, 1},
    {0x3624, 0x45, 0xFF, 1},
    {0x3628, 0x83, 0xFF, 1},
    {0x3630, 0x80, 0xFF, 1},
    {0x3631, 0x80, 0xFF, 1},
    {0x3632, 0x98, 0xFF, 1},
    {0x3633, 0x53, 0xFF, 1},
    {0x3635, 0x02, 0xFF, 1},
    {0x3637, 0x52, 0xFF, 1},
    {0x3638, 0x0a, 0xFF, 1},
    {0x363a, 0x88, 0xFF, 1},
    {0x363b, 0x06, 0xFF, 1},
    {0x363d, 0x01, 0xFF, 1},
    {0x363e, 0x00, 0xFF, 1},
    {0x3641, 0x00, 0xFF, 1},
    {0x3670, 0x4a, 0xFF, 1},
    {0x3671, 0xf7, 0xFF, 1},
    {0x3672, 0xf7, 0xFF, 1},
    {0x3673, 0x17, 0xFF, 1},
    {0x3674, 0x80, 0xFF, 1},
    {0x3675, 0x85, 0xFF, 1},
    {0x3676, 0xa5, 0xFF, 1},
    {0x367a, 0x48, 0xFF, 1},
    {0x367b, 0x78, 0xFF, 1},
    {0x367c, 0x48, 0xFF, 1},
    {0x367d, 0x78, 0xFF, 1},
    {0x3690, 0x53, 0xFF, 1},
    {0x3691, 0x63, 0xFF, 1},
    {0x3692, 0x54, 0xFF, 1},
    {0x3699, 0x88, 0xFF, 1},
    {0x369a, 0x9f, 0xFF, 1},
    {0x369b, 0x9f, 0xFF, 1},
    {0x369c, 0x48, 0xFF, 1},
    {0x369d, 0x78, 0xFF, 1},
    {0x36a2, 0x48, 0xFF, 1},
    {0x36a3, 0x78, 0xFF, 1},
    {0x36bb, 0x48, 0xFF, 1},
    {0x36bc, 0x78, 0xFF, 1},
    {0x36c9, 0x05, 0xFF, 1},
    {0x36ca, 0x05, 0xFF, 1},
    {0x36cb, 0x05, 0xFF, 1},
    {0x36cc, 0x00, 0xFF, 1},
    {0x36cd, 0x10, 0xFF, 1},
    {0x36ce, 0x1a, 0xFF, 1},
    {0x36d0, 0x30, 0xFF, 1},
    {0x36d1, 0x48, 0xFF, 1},
    {0x36d2, 0x78, 0xFF, 1},
    {0x36ea, 0x73, 0xFF, 1},
    {0x36eb, 0x04, 0xFF, 1},
    {0x36ec, 0x05, 0xFF, 1},
    {0x36ed, 0x14, 0xFF, 1},
    {0x36fa, 0x73, 0xFF, 1},
    {0x36fb, 0x11, 0xFF, 1},
    {0x36fc, 0x00, 0xFF, 1},
    {0x36fd, 0x07, 0xFF, 1},
    {0x3901, 0x00, 0xFF, 1},
    {0x3902, 0xc5, 0xFF, 1},
    {0x3904, 0x18, 0xFF, 1},
    {0x3905, 0xd8, 0xFF, 1},
    {0x394c, 0x0f, 0xFF, 1},
    {0x394d, 0x20, 0xFF, 1},
    {0x394e, 0x08, 0xFF, 1},
    {0x394f, 0x90, 0xFF, 1},
    {0x3980, 0x71, 0xFF, 1},
    {0x3981, 0x70, 0xFF, 1},
    {0x3982, 0x00, 0xFF, 1},
    {0x3983, 0x00, 0xFF, 1},
    {0x3984, 0x20, 0xFF, 1},
    {0x3987, 0x0b, 0xFF, 1},
    {0x3990, 0x03, 0xFF, 1},
    {0x3991, 0xfd, 0xFF, 1},
    {0x3992, 0x03, 0xFF, 1},
    {0x3993, 0xfc, 0xFF, 1},
    {0x3994, 0x00, 0xFF, 1},
    {0x3995, 0x00, 0xFF, 1},
    {0x3996, 0x00, 0xFF, 1},
    {0x3997, 0x05, 0xFF, 1},
    {0x3998, 0x00, 0xFF, 1},
    {0x3999, 0x09, 0xFF, 1},
    {0x399a, 0x00, 0xFF, 1},
    {0x399b, 0x12, 0xFF, 1},
    {0x399c, 0x00, 0xFF, 1},
    {0x399d, 0x12, 0xFF, 1},
    {0x399e, 0x00, 0xFF, 1},
    {0x399f, 0x18, 0xFF, 1},
    {0x39a0, 0x00, 0xFF, 1},
    {0x39a1, 0x14, 0xFF, 1},
    {0x39a2, 0x03, 0xFF, 1},
    {0x39a3, 0xe3, 0xFF, 1},
    {0x39a4, 0x03, 0xFF, 1},
    {0x39a5, 0xf2, 0xFF, 1},
    {0x39a6, 0x03, 0xFF, 1},
    {0x39a7, 0xf6, 0xFF, 1},
    {0x39a8, 0x03, 0xFF, 1},
    {0x39a9, 0xfa, 0xFF, 1},
    {0x39aa, 0x03, 0xFF, 1},
    {0x39ab, 0xff, 0xFF, 1},
    {0x39ac, 0x00, 0xFF, 1},
    {0x39ad, 0x06, 0xFF, 1},
    {0x39ae, 0x00, 0xFF, 1},
    {0x39af, 0x09, 0xFF, 1},
    {0x39b0, 0x00, 0xFF, 1},
    {0x39b1, 0x12, 0xFF, 1},
    {0x39b2, 0x00, 0xFF, 1},
    {0x39b3, 0x22, 0xFF, 1},
    {0x39b4, 0x0c, 0xFF, 1},
    {0x39b5, 0x1c, 0xFF, 1},
    {0x39b6, 0x38, 0xFF, 1},
    {0x39b7, 0x5b, 0xFF, 1},
    {0x39b8, 0x50, 0xFF, 1},
    {0x39b9, 0x38, 0xFF, 1},
    {0x39ba, 0x20, 0xFF, 1},
    {0x39bb, 0x10, 0xFF, 1},
    {0x39bc, 0x0c, 0xFF, 1},
    {0x39bd, 0x16, 0xFF, 1},
    {0x39be, 0x21, 0xFF, 1},
    {0x39bf, 0x36, 0xFF, 1},
    {0x39c0, 0x3b, 0xFF, 1},
    {0x39c1, 0x2a, 0xFF, 1},
    {0x39c2, 0x16, 0xFF, 1},
    {0x39c3, 0x0c, 0xFF, 1},
    {0x39c5, 0x30, 0xFF, 1},
    {0x39c6, 0x07, 0xFF, 1},
    {0x39c7, 0xf8, 0xFF, 1},
    {0x39c9, 0x07, 0xFF, 1},
    {0x39ca, 0xf8, 0xFF, 1},
    {0x39cc, 0x00, 0xFF, 1},
    {0x39cd, 0x1b, 0xFF, 1},
    {0x39ce, 0x00, 0xFF, 1},
    {0x39cf, 0x00, 0xFF, 1},
    {0x39d0, 0x1b, 0xFF, 1},
    {0x39d1, 0x00, 0xFF, 1},
    {0x39e2, 0x15, 0xFF, 1},
    {0x39e3, 0x87, 0xFF, 1},
    {0x39e4, 0x12, 0xFF, 1},
    {0x39e5, 0xb7, 0xFF, 1},
    {0x39e6, 0x00, 0xFF, 1},
    {0x39e7, 0x8c, 0xFF, 1},
    {0x39e8, 0x01, 0xFF, 1},
    {0x39e9, 0x31, 0xFF, 1},
    {0x39ea, 0x01, 0xFF, 1},
    {0x39eb, 0xd7, 0xFF, 1},
    {0x39ec, 0x08, 0xFF, 1},
    {0x39ed, 0x00, 0xFF, 1},
    {0x3e00, 0x01, 0xFF, 1},
    {0x3e01, 0x18, 0xFF, 1},
    {0x3e02, 0xa0, 0xFF, 1},
    {0x3e08, 0x03, 0xFF, 1},
    {0x3e09, 0x40, 0xFF, 1},
    {0x3e0e, 0x09, 0xFF, 1},
    {0x3e14, 0x31, 0xFF, 1},
    {0x3e16, 0x00, 0xFF, 1},
    {0x3e17, 0xac, 0xFF, 1},
    {0x3e18, 0x00, 0xFF, 1},
    {0x3e19, 0xac, 0xFF, 1},
    {0x3e1b, 0x3a, 0xFF, 1},
    {0x3e1e, 0x76, 0xFF, 1},
    {0x3e25, 0x23, 0xFF, 1},
    {0x3e26, 0x40, 0xFF, 1},
    {0x4501, 0xa4, 0xFF, 1},
    {0x4509, 0x10, 0xFF, 1},
    {0x4837, 0x1c, 0xFF, 1},
    {0x5799, 0x06, 0xFF, 1},
    {0x57aa, 0x2f, 0xFF, 1},
    {0x57ab, 0xff, 0xFF, 1},
    {0x36e9, 0x51, 0xFF, 1},
    {0x36f9, 0x35, 0xFF, 1},
    //{0x0100, 0x01, 0xFF, 1}, //stream on

    { 0x0000, 0x0000, 0x0000, 0x0000 },
};

static acam_reg_t wdr_1920_1080_30fps_446Mbps_4lane_10bits_crop[] = {
    {0x0103, 0x01, 0xFF, 1},
    {0x0100, 0x00, 0xFF, 1},
    {0x36e9, 0x80, 0xFF, 1},
    {0x36f9, 0x80, 0xFF, 1},
    {0x3018, 0x72, 0xFF, 1},
    {0x3019, 0x00, 0xFF, 1},
    {0x301f, 0x37, 0xFF, 1},
    {0x3031, 0x0a, 0xFF, 1},
    {0x3037, 0x20, 0xFF, 1},
    {0x3038, 0x44, 0xFF, 1},
    {0x3200, 0x03, 0xFF, 1},//crop
    {0x3201, 0xcc, 0xFF, 1},
    {0x3202, 0x02, 0xFF, 1},
    {0x3203, 0x28, 0xFF, 1},
    {0x3204, 0x0b, 0xFF, 1},
    {0x3205, 0x53, 0xFF, 1},
    {0x3206, 0x06, 0xFF, 1},
    {0x3207, 0x67, 0xFF, 1},
    {0x3208, 0x07, 0xFF, 1},
    {0x3209, 0x80, 0xFF, 1},
    {0x320a, 0x04, 0xFF, 1},
    {0x320b, 0x38, 0xFF, 1},
    {0x320c, 0x05, 0xFF, 1},
    {0x320d, 0x28, 0xFF, 1},
    {0x320e, 0x08, 0xFF, 1},//VTS
    {0x320f, 0xca, 0xFF, 1},//VTS
    {0x3210, 0x00, 0xFF, 1},
    {0x3211, 0x04, 0xFF, 1},
    {0x3212, 0x00, 0xFF, 1},
    {0x3213, 0x04, 0xFF, 1},
    {0x3220, 0x50, 0xFF, 1},
    {0x3241, 0x00, 0xFF, 1},
    {0x3243, 0x03, 0xFF, 1},
    {0x3248, 0x04, 0xFF, 1},
    {0x3250, 0x3f, 0xFF, 1},
    {0x3271, 0x1c, 0xFF, 1},
    {0x3273, 0x1f, 0xFF, 1},
    {0x3301, 0x1c, 0xFF, 1},
    {0x3302, 0x10, 0xFF, 1},
    {0x3304, 0x30, 0xFF, 1},
    {0x3306, 0x60, 0xFF, 1},
    {0x3308, 0x14, 0xFF, 1},
    {0x3309, 0x60, 0xFF, 1},
    {0x330a, 0x00, 0xFF, 1},
    {0x330b, 0xd8, 0xFF, 1},
    {0x330c, 0x0a, 0xFF, 1},
    {0x330d, 0x20, 0xFF, 1},
    {0x330e, 0x58, 0xFF, 1},
    {0x3314, 0x98, 0xFF, 1},
    {0x331e, 0x21, 0xFF, 1},
    {0x331f, 0x51, 0xFF, 1},
    {0x3332, 0x1e, 0xFF, 1},
    {0x334a, 0x18, 0xFF, 1},
    {0x334c, 0x10, 0xFF, 1},
    {0x3350, 0x1e, 0xFF, 1},
    {0x3358, 0x1e, 0xFF, 1},
    {0x335c, 0x1e, 0xFF, 1},
    {0x335d, 0x60, 0xFF, 1},
    {0x3366, 0x4a, 0xFF, 1},
    {0x3367, 0x08, 0xFF, 1},
    {0x3368, 0x07, 0xFF, 1},
    {0x3369, 0x00, 0xFF, 1},
    {0x336a, 0x00, 0xFF, 1},
    {0x336b, 0x00, 0xFF, 1},
    {0x336c, 0xc2, 0xFF, 1},
    {0x336f, 0x58, 0xFF, 1},
    {0x337f, 0x33, 0xFF, 1},
    {0x339e, 0x1e, 0xFF, 1},
    {0x33a0, 0x1e, 0xFF, 1},
    {0x33a4, 0x1e, 0xFF, 1},
    {0x33aa, 0x1e, 0xFF, 1},
    {0x33af, 0x48, 0xFF, 1},
    {0x33b9, 0x0e, 0xFF, 1},
    {0x33e1, 0x08, 0xFF, 1},
    {0x33e2, 0x18, 0xFF, 1},
    {0x33e3, 0x10, 0xFF, 1},
    {0x33e4, 0x0c, 0xFF, 1},
    {0x33e5, 0x10, 0xFF, 1},
    {0x33e6, 0x06, 0xFF, 1},
    {0x33e7, 0x02, 0xFF, 1},
    {0x33e8, 0x18, 0xFF, 1},
    {0x33e9, 0x10, 0xFF, 1},
    {0x33ea, 0x0c, 0xFF, 1},
    {0x33eb, 0x10, 0xFF, 1},
    {0x33ec, 0x04, 0xFF, 1},
    {0x33ed, 0x02, 0xFF, 1},
    {0x33ee, 0xa0, 0xFF, 1},
    {0x33ef, 0x08, 0xFF, 1},
    {0x33f4, 0x18, 0xFF, 1},
    {0x33f5, 0x10, 0xFF, 1},
    {0x33f6, 0x0c, 0xFF, 1},
    {0x33f7, 0x10, 0xFF, 1},
    {0x33f8, 0x06, 0xFF, 1},
    {0x33f9, 0x02, 0xFF, 1},
    {0x33fa, 0x18, 0xFF, 1},
    {0x33fb, 0x10, 0xFF, 1},
    {0x33fc, 0x0c, 0xFF, 1},
    {0x33fd, 0x10, 0xFF, 1},
    {0x33fe, 0x04, 0xFF, 1},
    {0x33ff, 0x02, 0xFF, 1},
    {0x360f, 0x01, 0xFF, 1},
    {0x3622, 0xf7, 0xFF, 1},
    {0x3624, 0x45, 0xFF, 1},
    {0x3628, 0x83, 0xFF, 1},
    {0x3630, 0x80, 0xFF, 1},
    {0x3631, 0x80, 0xFF, 1},
    {0x3632, 0xa8, 0xFF, 1},
    {0x3633, 0x53, 0xFF, 1},
    {0x3635, 0x02, 0xFF, 1},
    {0x3636, 0x11, 0xFF, 1},
    {0x3637, 0x10, 0xFF, 1},
    {0x3638, 0x0a, 0xFF, 1},
    {0x363a, 0x88, 0xFF, 1},
    {0x363b, 0x06, 0xFF, 1},
    {0x363d, 0x01, 0xFF, 1},
    {0x363e, 0x00, 0xFF, 1},
    {0x3641, 0x00, 0xFF, 1},
    {0x3670, 0x4a, 0xFF, 1},
    {0x3671, 0xf7, 0xFF, 1},
    {0x3672, 0xf7, 0xFF, 1},
    {0x3673, 0x17, 0xFF, 1},
    {0x3674, 0x80, 0xFF, 1},
    {0x3675, 0x85, 0xFF, 1},
    {0x3676, 0xa5, 0xFF, 1},
    {0x367a, 0x48, 0xFF, 1},
    {0x367b, 0x78, 0xFF, 1},
    {0x367c, 0x48, 0xFF, 1},
    {0x367d, 0x78, 0xFF, 1},
    {0x3690, 0x53, 0xFF, 1},
    {0x3691, 0x63, 0xFF, 1},
    {0x3692, 0x54, 0xFF, 1},
    {0x3699, 0x9f, 0xFF, 1},
    {0x369a, 0x9f, 0xFF, 1},
    {0x369b, 0x9f, 0xFF, 1},
    {0x369c, 0x48, 0xFF, 1},
    {0x369d, 0x78, 0xFF, 1},
    {0x36a2, 0x48, 0xFF, 1},
    {0x36a3, 0x78, 0xFF, 1},
    {0x36bb, 0x48, 0xFF, 1},
    {0x36bc, 0x78, 0xFF, 1},
    {0x36c9, 0x05, 0xFF, 1},
    {0x36ca, 0x05, 0xFF, 1},
    {0x36cb, 0x05, 0xFF, 1},
    {0x36cc, 0x00, 0xFF, 1},
    {0x36cd, 0x10, 0xFF, 1},
    {0x36ce, 0x1a, 0xFF, 1},
    {0x36d0, 0x30, 0xFF, 1},
    {0x36d1, 0x48, 0xFF, 1},
    {0x36d2, 0x78, 0xFF, 1},
    {0x36ea, 0x75, 0xFF, 1},
    {0x36eb, 0x14, 0xFF, 1},
    {0x36ec, 0x05, 0xFF, 1},
    {0x36ed, 0x34, 0xFF, 1},
    {0x36fa, 0x75, 0xFF, 1},
    {0x36fb, 0x14, 0xFF, 1},
    {0x36fc, 0x10, 0xFF, 1},
    {0x36fd, 0x34, 0xFF, 1},
    {0x3802, 0x01, 0xFF, 1},
    {0x3901, 0x00, 0xFF, 1},
    {0x3902, 0xc5, 0xFF, 1},
    {0x3904, 0x18, 0xFF, 1},
    {0x3905, 0xd8, 0xFF, 1},
    {0x394c, 0x0f, 0xFF, 1},
    {0x394d, 0x20, 0xFF, 1},
    {0x394e, 0x08, 0xFF, 1},
    {0x394f, 0x90, 0xFF, 1},
    {0x3980, 0x71, 0xFF, 1},
    {0x3981, 0x70, 0xFF, 1},
    {0x3982, 0x00, 0xFF, 1},
    {0x3983, 0x00, 0xFF, 1},
    {0x3984, 0x20, 0xFF, 1},
    {0x3987, 0x0b, 0xFF, 1},
    {0x3990, 0x03, 0xFF, 1},
    {0x3991, 0xfd, 0xFF, 1},
    {0x3992, 0x03, 0xFF, 1},
    {0x3993, 0xfc, 0xFF, 1},
    {0x3994, 0x00, 0xFF, 1},
    {0x3995, 0x00, 0xFF, 1},
    {0x3996, 0x00, 0xFF, 1},
    {0x3997, 0x05, 0xFF, 1},
    {0x3998, 0x00, 0xFF, 1},
    {0x3999, 0x09, 0xFF, 1},
    {0x399a, 0x00, 0xFF, 1},
    {0x399b, 0x12, 0xFF, 1},
    {0x399c, 0x00, 0xFF, 1},
    {0x399d, 0x12, 0xFF, 1},
    {0x399e, 0x00, 0xFF, 1},
    {0x399f, 0x18, 0xFF, 1},
    {0x39a0, 0x00, 0xFF, 1},
    {0x39a1, 0x14, 0xFF, 1},
    {0x39a2, 0x03, 0xFF, 1},
    {0x39a3, 0xe3, 0xFF, 1},
    {0x39a4, 0x03, 0xFF, 1},
    {0x39a5, 0xf2, 0xFF, 1},
    {0x39a6, 0x03, 0xFF, 1},
    {0x39a7, 0xf6, 0xFF, 1},
    {0x39a8, 0x03, 0xFF, 1},
    {0x39a9, 0xfa, 0xFF, 1},
    {0x39aa, 0x03, 0xFF, 1},
    {0x39ab, 0xff, 0xFF, 1},
    {0x39ac, 0x00, 0xFF, 1},
    {0x39ad, 0x06, 0xFF, 1},
    {0x39ae, 0x00, 0xFF, 1},
    {0x39af, 0x09, 0xFF, 1},
    {0x39b0, 0x00, 0xFF, 1},
    {0x39b1, 0x12, 0xFF, 1},
    {0x39b2, 0x00, 0xFF, 1},
    {0x39b3, 0x22, 0xFF, 1},
    {0x39b4, 0x0c, 0xFF, 1},
    {0x39b5, 0x1c, 0xFF, 1},
    {0x39b6, 0x38, 0xFF, 1},
    {0x39b7, 0x5b, 0xFF, 1},
    {0x39b8, 0x50, 0xFF, 1},
    {0x39b9, 0x38, 0xFF, 1},
    {0x39ba, 0x20, 0xFF, 1},
    {0x39bb, 0x10, 0xFF, 1},
    {0x39bc, 0x0c, 0xFF, 1},
    {0x39bd, 0x16, 0xFF, 1},
    {0x39be, 0x21, 0xFF, 1},
    {0x39bf, 0x36, 0xFF, 1},
    {0x39c0, 0x3b, 0xFF, 1},
    {0x39c1, 0x2a, 0xFF, 1},
    {0x39c2, 0x16, 0xFF, 1},
    {0x39c3, 0x0c, 0xFF, 1},
    {0x39c5, 0x30, 0xFF, 1},
    {0x39c6, 0x07, 0xFF, 1},
    {0x39c7, 0xf8, 0xFF, 1},
    {0x39c9, 0x07, 0xFF, 1},
    {0x39ca, 0xf8, 0xFF, 1},
    {0x39cc, 0x00, 0xFF, 1},
    {0x39cd, 0x1b, 0xFF, 1},
    {0x39ce, 0x00, 0xFF, 1},
    {0x39cf, 0x00, 0xFF, 1},
    {0x39d0, 0x1b, 0xFF, 1},
    {0x39d1, 0x00, 0xFF, 1},
    {0x39e2, 0x15, 0xFF, 1},
    {0x39e3, 0x87, 0xFF, 1},
    {0x39e4, 0x12, 0xFF, 1},
    {0x39e5, 0xb7, 0xFF, 1},
    {0x39e6, 0x00, 0xFF, 1},
    {0x39e7, 0x8c, 0xFF, 1},
    {0x39e8, 0x01, 0xFF, 1},
    {0x39e9, 0x31, 0xFF, 1},
    {0x39ea, 0x01, 0xFF, 1},
    {0x39eb, 0xd7, 0xFF, 1},
    {0x39ec, 0x08, 0xFF, 1},
    {0x39ed, 0x00, 0xFF, 1},
    {0x3e00, 0x00, 0xFF, 1},
    {0x3e01, 0x8c, 0xFF, 1},
    {0x3e02, 0x00, 0xFF, 1},
    {0x3e08, 0x03, 0xFF, 1},
    {0x3e09, 0x40, 0xFF, 1},
    {0x3e0e, 0x09, 0xFF, 1},
    {0x3e14, 0x31, 0xFF, 1},
    {0x3e16, 0x00, 0xFF, 1},
    {0x3e17, 0xac, 0xFF, 1},
    {0x3e18, 0x00, 0xFF, 1},
    {0x3e19, 0xac, 0xFF, 1},
    {0x3e1b, 0x3a, 0xFF, 1},
    {0x3e1e, 0x76, 0xFF, 1},
    {0x3e23, 0x00, 0xFF, 1},
    {0x3e24, 0x8b, 0xFF, 1},
    {0x3e25, 0x23, 0xFF, 1},
    {0x3e26, 0x40, 0xFF, 1},
    {0x4501, 0xa4, 0xFF, 1},
    {0x4509, 0x10, 0xFF, 1},
    {0x4816, 0x51, 0xFF, 1},
    {0x4837, 0x2c, 0xFF, 1},
    {0x5799, 0x06, 0xFF, 1},
    {0x57aa, 0x2f, 0xFF, 1},
    {0x57ab, 0xff, 0xFF, 1},
    {0x36e9, 0x29, 0xFF, 1},
    {0x36f9, 0x29, 0xFF, 1},
    //{0x0100, 0x01, 0xFF, 1}, //stream on

    { 0x0000, 0x0000, 0x0000, 0x0000 },
};

static acam_reg_t wdr_3840_2160_15fps_702Mbps_4lane_10bits[] = {
	{0x0103, 0x01, 0xff, 1},
	{0x0100, 0x00, 0xff, 1},
	{0x36e9, 0x80, 0xff, 1},
	{0x36f9, 0x80, 0xff, 1},
	{0x3018, 0x72, 0xff, 1},
	{0x3019, 0x00, 0xff, 1},
	{0x301f, 0x38, 0xff, 1},
	{0x3031, 0x0a, 0xff, 1},
	{0x3037, 0x20, 0xff, 1},
	{0x3038, 0x44, 0xff, 1},
	{0x3200, 0x00, 0xff, 1},
	{0x3201, 0x08, 0xff, 1},
	{0x3202, 0x00, 0xff, 1},
	{0x3203, 0x08, 0xff, 1},
	{0x3204, 0x0f, 0xff, 1},
	{0x3205, 0x17, 0xff, 1},
	{0x3206, 0x08, 0xff, 1},
	{0x3207, 0x87, 0xff, 1},
	{0x3208, 0x0f, 0xff, 1},
	{0x3209, 0x00, 0xff, 1},
	{0x320a, 0x08, 0xff, 1},
	{0x320b, 0x70, 0xff, 1},
	{0x320c, 0x08, 0xff, 1},
	{0x320d, 0x20, 0xff, 1},
	{0x320e, 0x11, 0xff, 1},
	{0x320f, 0x94, 0xff, 1},
	{0x3210, 0x00, 0xff, 1},
	{0x3211, 0x08, 0xff, 1},
	{0x3212, 0x00, 0xff, 1},
	{0x3213, 0x08, 0xff, 1},
	{0x3220, 0x50, 0xff, 1},
	{0x3241, 0x00, 0xff, 1},
	{0x3243, 0x03, 0xff, 1},
	{0x3248, 0x04, 0xff, 1},
	{0x3250, 0x3f, 0xff, 1},
	{0x3271, 0x1c, 0xff, 1},
	{0x3273, 0x1f, 0xff, 1},
	{0x3301, 0x1c, 0xff, 1},
	{0x3306, 0xa8, 0xff, 1},
	{0x3308, 0x20, 0xff, 1},
	{0x3309, 0x68, 0xff, 1},
	{0x330b, 0x48, 0xff, 1},
	{0x330d, 0x28, 0xff, 1},
	{0x330e, 0x58, 0xff, 1},
	{0x3314, 0x98, 0xff, 1},
	{0x331f, 0x59, 0xff, 1},
	{0x3332, 0x24, 0xff, 1},
	{0x334a, 0x18, 0xff, 1},
	{0x334c, 0x10, 0xff, 1},
	{0x3350, 0x24, 0xff, 1},
	{0x3358, 0x24, 0xff, 1},
	{0x335c, 0x24, 0xff, 1},
	{0x335d, 0x60, 0xff, 1},
	{0x3360, 0x40, 0xff, 1},
	{0x3362, 0x72, 0xff, 1},
	{0x3364, 0x16, 0xff, 1},
	{0x3366, 0x92, 0xff, 1},
	{0x3367, 0x08, 0xff, 1},
	{0x3368, 0x0e, 0xff, 1},
	{0x3369, 0x00, 0xff, 1},
	{0x336a, 0x00, 0xff, 1},
	{0x336b, 0x00, 0xff, 1},
	{0x336c, 0xc2, 0xff, 1},
	{0x336f, 0x58, 0xff, 1},
	{0x337f, 0x33, 0xff, 1},
	{0x3390, 0x08, 0xff, 1},
	{0x3391, 0x18, 0xff, 1},
	{0x3392, 0x38, 0xff, 1},
	{0x3393, 0x1c, 0xff, 1},
	{0x3394, 0x28, 0xff, 1},
	{0x3395, 0x60, 0xff, 1},
	{0x3396, 0x08, 0xff, 1},
	{0x3397, 0x18, 0xff, 1},
	{0x3398, 0x38, 0xff, 1},
	{0x3399, 0x1c, 0xff, 1},
	{0x339a, 0x1c, 0xff, 1},
	{0x339b, 0x28, 0xff, 1},
	{0x339c, 0x60, 0xff, 1},
	{0x339e, 0x24, 0xff, 1},
	{0x33aa, 0x24, 0xff, 1},
	{0x33af, 0x48, 0xff, 1},
	{0x33e1, 0x08, 0xff, 1},
	{0x33e2, 0x18, 0xff, 1},
	{0x33e3, 0x10, 0xff, 1},
	{0x33e4, 0x0c, 0xff, 1},
	{0x33e5, 0x10, 0xff, 1},
	{0x33e6, 0x06, 0xff, 1},
	{0x33e7, 0x02, 0xff, 1},
	{0x33e8, 0x18, 0xff, 1},
	{0x33e9, 0x10, 0xff, 1},
	{0x33ea, 0x0c, 0xff, 1},
	{0x33eb, 0x10, 0xff, 1},
	{0x33ec, 0x04, 0xff, 1},
	{0x33ed, 0x02, 0xff, 1},
	{0x33ee, 0xa0, 0xff, 1},
	{0x33ef, 0x08, 0xff, 1},
	{0x33f4, 0x18, 0xff, 1},
	{0x33f5, 0x10, 0xff, 1},
	{0x33f6, 0x0c, 0xff, 1},
	{0x33f7, 0x10, 0xff, 1},
	{0x33f8, 0x06, 0xff, 1},
	{0x33f9, 0x02, 0xff, 1},
	{0x33fa, 0x18, 0xff, 1},
	{0x33fb, 0x10, 0xff, 1},
	{0x33fc, 0x0c, 0xff, 1},
	{0x33fd, 0x10, 0xff, 1},
	{0x33fe, 0x04, 0xff, 1},
	{0x33ff, 0x02, 0xff, 1},
	{0x360f, 0x01, 0xff, 1},
	{0x3622, 0xf7, 0xff, 1},
	{0x3624, 0x45, 0xff, 1},
	{0x3628, 0x83, 0xff, 1},
	{0x3630, 0x80, 0xff, 1},
	{0x3631, 0x80, 0xff, 1},
	{0x3632, 0x98, 0xff, 1},
	{0x3633, 0x53, 0xff, 1},
	{0x3635, 0x02, 0xff, 1},
	{0x3636, 0x11, 0xff, 1},
	{0x3637, 0x10, 0xff, 1},
	{0x3638, 0x0a, 0xff, 1},
	{0x363a, 0x88, 0xff, 1},
	{0x363b, 0x06, 0xff, 1},
	{0x363d, 0x01, 0xff, 1},
	{0x363e, 0x00, 0xff, 1},
	{0x3641, 0x00, 0xff, 1},
	{0x3670, 0x4a, 0xff, 1},
	{0x3671, 0xf7, 0xff, 1},
	{0x3672, 0xf7, 0xff, 1},
	{0x3673, 0x17, 0xff, 1},
	{0x3674, 0x80, 0xff, 1},
	{0x3675, 0x85, 0xff, 1},
	{0x3676, 0xa5, 0xff, 1},
	{0x367a, 0x48, 0xff, 1},
	{0x367b, 0x78, 0xff, 1},
	{0x367c, 0x48, 0xff, 1},
	{0x367d, 0x78, 0xff, 1},
	{0x3690, 0x53, 0xff, 1},
	{0x3691, 0x63, 0xff, 1},
	{0x3692, 0x54, 0xff, 1},
	{0x3699, 0x88, 0xff, 1},
	{0x369a, 0x88, 0xff, 1},
	{0x369b, 0x88, 0xff, 1},
	{0x369c, 0x48, 0xff, 1},
	{0x369d, 0x78, 0xff, 1},
	{0x36a2, 0x48, 0xff, 1},
	{0x36a3, 0x78, 0xff, 1},
	{0x36bb, 0x48, 0xff, 1},
	{0x36bc, 0x78, 0xff, 1},
	{0x36c9, 0x05, 0xff, 1},
	{0x36ca, 0x05, 0xff, 1},
	{0x36cb, 0x05, 0xff, 1},
	{0x36cc, 0x00, 0xff, 1},
	{0x36cd, 0x10, 0xff, 1},
	{0x36ce, 0x1a, 0xff, 1},
	{0x36d0, 0x30, 0xff, 1},
	{0x36d1, 0x48, 0xff, 1},
	{0x36d2, 0x78, 0xff, 1},
	{0x36ea, 0x73, 0xff, 1},
	{0x36eb, 0x04, 0xff, 1},
	{0x36ec, 0x05, 0xff, 1},
	{0x36ed, 0x14, 0xff, 1},
	{0x36fa, 0x73, 0xff, 1},
	{0x36fb, 0x11, 0xff, 1},
	{0x36fc, 0x00, 0xff, 1},
	{0x36fd, 0x07, 0xff, 1},
	{0x3802, 0x01, 0xff, 1},
	{0x3901, 0x00, 0xff, 1},
	{0x3902, 0xc5, 0xff, 1},
	{0x3904, 0x18, 0xff, 1},
	{0x3905, 0xd8, 0xff, 1},
	{0x394c, 0x0f, 0xff, 1},
	{0x394d, 0x20, 0xff, 1},
	{0x394e, 0x08, 0xff, 1},
	{0x394f, 0x90, 0xff, 1},
	{0x3980, 0x71, 0xff, 1},
	{0x3981, 0x70, 0xff, 1},
	{0x3982, 0x00, 0xff, 1},
	{0x3983, 0x00, 0xff, 1},
	{0x3984, 0x20, 0xff, 1},
	{0x3987, 0x0b, 0xff, 1},
	{0x3990, 0x03, 0xff, 1},
	{0x3991, 0xfd, 0xff, 1},
	{0x3992, 0x03, 0xff, 1},
	{0x3993, 0xfc, 0xff, 1},
	{0x3994, 0x00, 0xff, 1},
	{0x3995, 0x00, 0xff, 1},
	{0x3996, 0x00, 0xff, 1},
	{0x3997, 0x05, 0xff, 1},
	{0x3998, 0x00, 0xff, 1},
	{0x3999, 0x09, 0xff, 1},
	{0x399a, 0x00, 0xff, 1},
	{0x399b, 0x12, 0xff, 1},
	{0x399c, 0x00, 0xff, 1},
	{0x399d, 0x12, 0xff, 1},
	{0x399e, 0x00, 0xff, 1},
	{0x399f, 0x18, 0xff, 1},
	{0x39a0, 0x00, 0xff, 1},
	{0x39a1, 0x14, 0xff, 1},
	{0x39a2, 0x03, 0xff, 1},
	{0x39a3, 0xe3, 0xff, 1},
	{0x39a4, 0x03, 0xff, 1},
	{0x39a5, 0xf2, 0xff, 1},
	{0x39a6, 0x03, 0xff, 1},
	{0x39a7, 0xf6, 0xff, 1},
	{0x39a8, 0x03, 0xff, 1},
	{0x39a9, 0xfa, 0xff, 1},
	{0x39aa, 0x03, 0xff, 1},
	{0x39ab, 0xff, 0xff, 1},
	{0x39ac, 0x00, 0xff, 1},
	{0x39ad, 0x06, 0xff, 1},
	{0x39ae, 0x00, 0xff, 1},
	{0x39af, 0x09, 0xff, 1},
	{0x39b0, 0x00, 0xff, 1},
	{0x39b1, 0x12, 0xff, 1},
	{0x39b2, 0x00, 0xff, 1},
	{0x39b3, 0x22, 0xff, 1},
	{0x39b4, 0x0c, 0xff, 1},
	{0x39b5, 0x1c, 0xff, 1},
	{0x39b6, 0x38, 0xff, 1},
	{0x39b7, 0x5b, 0xff, 1},
	{0x39b8, 0x50, 0xff, 1},
	{0x39b9, 0x38, 0xff, 1},
	{0x39ba, 0x20, 0xff, 1},
	{0x39bb, 0x10, 0xff, 1},
	{0x39bc, 0x0c, 0xff, 1},
	{0x39bd, 0x16, 0xff, 1},
	{0x39be, 0x21, 0xff, 1},
	{0x39bf, 0x36, 0xff, 1},
	{0x39c0, 0x3b, 0xff, 1},
	{0x39c1, 0x2a, 0xff, 1},
	{0x39c2, 0x16, 0xff, 1},
	{0x39c3, 0x0c, 0xff, 1},
	{0x39c5, 0x30, 0xff, 1},
	{0x39c6, 0x07, 0xff, 1},
	{0x39c7, 0xf8, 0xff, 1},
	{0x39c9, 0x07, 0xff, 1},
	{0x39ca, 0xf8, 0xff, 1},
	{0x39cc, 0x00, 0xff, 1},
	{0x39cd, 0x1b, 0xff, 1},
	{0x39ce, 0x00, 0xff, 1},
	{0x39cf, 0x00, 0xff, 1},
	{0x39d0, 0x1b, 0xff, 1},
	{0x39d1, 0x00, 0xff, 1},
	{0x39e2, 0x15, 0xff, 1},
	{0x39e3, 0x87, 0xff, 1},
	{0x39e4, 0x12, 0xff, 1},
	{0x39e5, 0xb7, 0xff, 1},
	{0x39e6, 0x00, 0xff, 1},
	{0x39e7, 0x8c, 0xff, 1},
	{0x39e8, 0x01, 0xff, 1},
	{0x39e9, 0x31, 0xff, 1},
	{0x39ea, 0x01, 0xff, 1},
	{0x39eb, 0xd7, 0xff, 1},
	{0x39ec, 0x08, 0xff, 1},
	{0x39ed, 0x00, 0xff, 1},
	{0x3e00, 0x01, 0xff, 1},
	{0x3e01, 0x18, 0xff, 1},
	{0x3e02, 0xa0, 0xff, 1},
	{0x3e08, 0x03, 0xff, 1},
	{0x3e09, 0x40, 0xff, 1},
	{0x3e0e, 0x09, 0xff, 1},
	{0x3e13, 0x40, 0xff, 1},
	{0x3e14, 0x31, 0xff, 1},
	{0x3e16, 0x00, 0xff, 1},
	{0x3e17, 0xac, 0xff, 1},
	{0x3e18, 0x00, 0xff, 1},
	{0x3e19, 0xac, 0xff, 1},
	{0x3e1b, 0x3a, 0xff, 1},
	{0x3e1e, 0x76, 0xff, 1},
	{0x3e23, 0x01, 0xff, 1},
	{0x3e24, 0x0f, 0xff, 1},
	{0x3e25, 0x23, 0xff, 1},
	{0x3e26, 0x40, 0xff, 1},
	{0x4501, 0xa4, 0xff, 1},
	{0x4509, 0x10, 0xff, 1},
	{0x4816, 0x51, 0xff, 1},
	{0x4837, 0x1c, 0xff, 1},
	{0x5799, 0x06, 0xff, 1},
	{0x57aa, 0x2f, 0xff, 1},
	{0x57ab, 0xff, 0xff, 1},
	{0x36e9, 0x51, 0xff, 1},
	{0x36f9, 0x35, 0xff, 1},
    //{0x0100, 0x01, 0xFF, 1}, //stream on

    { 0x0000, 0x0000, 0x0000, 0x0000 },
};

static acam_reg_t linear_1920_1080_30fps_702Mbps_4lane_10bits_binning[] = {
	{ 0x0103, 0x01, 0xff, 1 },
	{ 0x0100, 0x00, 0xff, 1 },
	{ 0x36e9, 0x80, 0xff, 1 },
	{ 0x36f9, 0x80, 0xff, 1 },
	{ 0x3018, 0x72, 0xff, 1 },
	{ 0x3019, 0x00, 0xff, 1 },
	{ 0x301f, 0x39, 0xff, 1 },
	{ 0x3031, 0x0a, 0xff, 1 },
	{ 0x3037, 0x20, 0xff, 1 },
	{ 0x3038, 0x44, 0xff, 1 },
	{ 0x3200, 0x00, 0xff, 1 },
	{ 0x3201, 0x08, 0xff, 1 },
	{ 0x3202, 0x00, 0xff, 1 },
	{ 0x3203, 0x08, 0xff, 1 },
	{ 0x3204, 0x0f, 0xff, 1 },
	{ 0x3205, 0x17, 0xff, 1 },
	{ 0x3206, 0x08, 0xff, 1 },
	{ 0x3207, 0x87, 0xff, 1 },
	{ 0x3208, 0x07, 0xff, 1 },
	{ 0x3209, 0x80, 0xff, 1 },
	{ 0x320a, 0x04, 0xff, 1 },
	{ 0x320b, 0x38, 0xff, 1 },
	{ 0x320c, 0x05, 0xff, 1 },
	{ 0x320d, 0x28, 0xff, 1 },
	{ 0x320e, 0x08, 0xff, 1 },
	{ 0x320f, 0xca, 0xff, 1 },
	{ 0x3210, 0x00, 0xff, 1 },
	{ 0x3211, 0x04, 0xff, 1 },
	{ 0x3212, 0x00, 0xff, 1 },
	{ 0x3213, 0x04, 0xff, 1 },
	{ 0x3214, 0x31, 0xff, 1 },
	{ 0x3215, 0x31, 0xff, 1 },
	{ 0x3220, 0x1c, 0xff, 1 },
	{ 0x3241, 0x00, 0xff, 1 },
	{ 0x3243, 0x03, 0xff, 1 },
	{ 0x3248, 0x04, 0xff, 1 },
	{ 0x3271, 0x1c, 0xff, 1 },
	{ 0x3273, 0x1f, 0xff, 1 },
	{ 0x3301, 0x1c, 0xff, 1 },
	{ 0x3302, 0x10, 0xff, 1 },
	{ 0x3304, 0x30, 0xff, 1 },
	{ 0x3306, 0x60, 0xff, 1 },
	{ 0x3308, 0x14, 0xff, 1 },
	{ 0x3309, 0x60, 0xff, 1 },
	{ 0x330a, 0x00, 0xff, 1 },
	{ 0x330b, 0xd8, 0xff, 1 },
	{ 0x330c, 0x0a, 0xff, 1 },
	{ 0x330d, 0x20, 0xff, 1 },
	{ 0x330e, 0x58, 0xff, 1 },
	{ 0x3314, 0x94, 0xff, 1 },
	{ 0x331e, 0x21, 0xff, 1 },
	{ 0x331f, 0x51, 0xff, 1 },
	{ 0x3332, 0x1e, 0xff, 1 },
	{ 0x334c, 0x10, 0xff, 1 },
	{ 0x3350, 0x1e, 0xff, 1 },
	{ 0x3358, 0x1e, 0xff, 1 },
	{ 0x335c, 0x1e, 0xff, 1 },
	{ 0x335d, 0x60, 0xff, 1 },
	{ 0x3366, 0x4a, 0xff, 1 },
	{ 0x3367, 0x08, 0xff, 1 },
	{ 0x3368, 0x07, 0xff, 1 },
	{ 0x3369, 0x00, 0xff, 1 },
	{ 0x336a, 0x00, 0xff, 1 },
	{ 0x336b, 0x00, 0xff, 1 },
	{ 0x336c, 0xc2, 0xff, 1 },
	{ 0x337f, 0x33, 0xff, 1 },
	{ 0x339e, 0x1e, 0xff, 1 },
	{ 0x33a0, 0x1e, 0xff, 1 },
	{ 0x33a4, 0x1e, 0xff, 1 },
	{ 0x33aa, 0x1e, 0xff, 1 },
	{ 0x33af, 0x48, 0xff, 1 },
	{ 0x33b9, 0x0e, 0xff, 1 },
	{ 0x33e1, 0x08, 0xff, 1 },
	{ 0x33e2, 0x18, 0xff, 1 },
	{ 0x33e3, 0x10, 0xff, 1 },
	{ 0x33e4, 0x0c, 0xff, 1 },
	{ 0x33e5, 0x10, 0xff, 1 },
	{ 0x33e6, 0x06, 0xff, 1 },
	{ 0x33e7, 0x02, 0xff, 1 },
	{ 0x33e8, 0x18, 0xff, 1 },
	{ 0x33e9, 0x10, 0xff, 1 },
	{ 0x33ea, 0x0c, 0xff, 1 },
	{ 0x33eb, 0x10, 0xff, 1 },
	{ 0x33ec, 0x04, 0xff, 1 },
	{ 0x33ed, 0x02, 0xff, 1 },
	{ 0x33ee, 0xa0, 0xff, 1 },
	{ 0x33ef, 0x08, 0xff, 1 },
	{ 0x33f4, 0x18, 0xff, 1 },
	{ 0x33f5, 0x10, 0xff, 1 },
	{ 0x33f6, 0x0c, 0xff, 1 },
	{ 0x33f7, 0x10, 0xff, 1 },
	{ 0x33f8, 0x06, 0xff, 1 },
	{ 0x33f9, 0x02, 0xff, 1 },
	{ 0x33fa, 0x18, 0xff, 1 },
	{ 0x33fb, 0x10, 0xff, 1 },
	{ 0x33fc, 0x0c, 0xff, 1 },
	{ 0x33fd, 0x10, 0xff, 1 },
	{ 0x33fe, 0x04, 0xff, 1 },
	{ 0x33ff, 0x02, 0xff, 1 },
	{ 0x360f, 0x01, 0xff, 1 },
	{ 0x3620, 0x48, 0xff, 1 },
	{ 0x3622, 0xf7, 0xff, 1 },
	{ 0x3624, 0x45, 0xff, 1 },
	{ 0x3628, 0x83, 0xff, 1 },
	{ 0x3630, 0x80, 0xff, 1 },
	{ 0x3631, 0x80, 0xff, 1 },
	{ 0x3632, 0xa8, 0xff, 1 },
	{ 0x3633, 0x53, 0xff, 1 },
	{ 0x3635, 0x02, 0xff, 1 },
	{ 0x3637, 0x52, 0xff, 1 },
	{ 0x3638, 0x0a, 0xff, 1 },
	{ 0x363a, 0x88, 0xff, 1 },
	{ 0x363b, 0x06, 0xff, 1 },
	{ 0x363d, 0x01, 0xff, 1 },
	{ 0x363e, 0x00, 0xff, 1 },
	{ 0x3641, 0x00, 0xff, 1 },
	{ 0x3670, 0x4a, 0xff, 1 },
	{ 0x3671, 0xf7, 0xff, 1 },
	{ 0x3672, 0xf7, 0xff, 1 },
	{ 0x3673, 0x17, 0xff, 1 },
	{ 0x3674, 0x80, 0xff, 1 },
	{ 0x3675, 0x85, 0xff, 1 },
	{ 0x3676, 0xa5, 0xff, 1 },
	{ 0x367a, 0x48, 0xff, 1 },
	{ 0x367b, 0x78, 0xff, 1 },
	{ 0x367c, 0x48, 0xff, 1 },
	{ 0x367d, 0x78, 0xff, 1 },
	{ 0x3690, 0x53, 0xff, 1 },
	{ 0x3691, 0x63, 0xff, 1 },
	{ 0x3692, 0x54, 0xff, 1 },
	{ 0x3699, 0x9f, 0xff, 1 },
	{ 0x369a, 0x9f, 0xff, 1 },
	{ 0x369b, 0x9f, 0xff, 1 },
	{ 0x369c, 0x48, 0xff, 1 },
	{ 0x369d, 0x78, 0xff, 1 },
	{ 0x36a2, 0x48, 0xff, 1 },
	{ 0x36a3, 0x78, 0xff, 1 },
	{ 0x36bb, 0x48, 0xff, 1 },
	{ 0x36bc, 0x78, 0xff, 1 },
	{ 0x36c9, 0x05, 0xff, 1 },
	{ 0x36ca, 0x05, 0xff, 1 },
	{ 0x36cb, 0x05, 0xff, 1 },
	{ 0x36cc, 0x00, 0xff, 1 },
	{ 0x36cd, 0x10, 0xff, 1 },
	{ 0x36ce, 0x1a, 0xff, 1 },
	{ 0x36d0, 0x30, 0xff, 1 },
	{ 0x36d1, 0x48, 0xff, 1 },
	{ 0x36d2, 0x78, 0xff, 1 },
	{ 0x36ea, 0x75, 0xff, 1 },
	{ 0x36eb, 0x14, 0xff, 1 },
	{ 0x36ec, 0x05, 0xff, 1 },
	{ 0x36ed, 0x34, 0xff, 1 },
	{ 0x36fa, 0x75, 0xff, 1 },
	{ 0x36fb, 0x14, 0xff, 1 },
	{ 0x36fc, 0x10, 0xff, 1 },
	{ 0x36fd, 0x34, 0xff, 1 },
	{ 0x3901, 0x00, 0xff, 1 },
	{ 0x3902, 0xc5, 0xff, 1 },
	{ 0x3904, 0x18, 0xff, 1 },
	{ 0x3905, 0xd8, 0xff, 1 },
	{ 0x394c, 0x0f, 0xff, 1 },
	{ 0x394d, 0x20, 0xff, 1 },
	{ 0x394e, 0x08, 0xff, 1 },
	{ 0x394f, 0x90, 0xff, 1 },
	{ 0x3980, 0x71, 0xff, 1 },
	{ 0x3981, 0x70, 0xff, 1 },
	{ 0x3982, 0x00, 0xff, 1 },
	{ 0x3983, 0x00, 0xff, 1 },
	{ 0x3984, 0x20, 0xff, 1 },
	{ 0x3987, 0x0b, 0xff, 1 },
	{ 0x3990, 0x03, 0xff, 1 },
	{ 0x3991, 0xfd, 0xff, 1 },
	{ 0x3992, 0x03, 0xff, 1 },
	{ 0x3993, 0xfc, 0xff, 1 },
	{ 0x3994, 0x00, 0xff, 1 },
	{ 0x3995, 0x00, 0xff, 1 },
	{ 0x3996, 0x00, 0xff, 1 },
	{ 0x3997, 0x05, 0xff, 1 },
	{ 0x3998, 0x00, 0xff, 1 },
	{ 0x3999, 0x09, 0xff, 1 },
	{ 0x399a, 0x00, 0xff, 1 },
	{ 0x399b, 0x12, 0xff, 1 },
	{ 0x399c, 0x00, 0xff, 1 },
	{ 0x399d, 0x12, 0xff, 1 },
	{ 0x399e, 0x00, 0xff, 1 },
	{ 0x399f, 0x18, 0xff, 1 },
	{ 0x39a0, 0x00, 0xff, 1 },
	{ 0x39a1, 0x14, 0xff, 1 },
	{ 0x39a2, 0x03, 0xff, 1 },
	{ 0x39a3, 0xe3, 0xff, 1 },
	{ 0x39a4, 0x03, 0xff, 1 },
	{ 0x39a5, 0xf2, 0xff, 1 },
	{ 0x39a6, 0x03, 0xff, 1 },
	{ 0x39a7, 0xf6, 0xff, 1 },
	{ 0x39a8, 0x03, 0xff, 1 },
	{ 0x39a9, 0xfa, 0xff, 1 },
	{ 0x39aa, 0x03, 0xff, 1 },
	{ 0x39ab, 0xff, 0xff, 1 },
	{ 0x39ac, 0x00, 0xff, 1 },
	{ 0x39ad, 0x06, 0xff, 1 },
	{ 0x39ae, 0x00, 0xff, 1 },
	{ 0x39af, 0x09, 0xff, 1 },
	{ 0x39b0, 0x00, 0xff, 1 },
	{ 0x39b1, 0x12, 0xff, 1 },
	{ 0x39b2, 0x00, 0xff, 1 },
	{ 0x39b3, 0x22, 0xff, 1 },
	{ 0x39b4, 0x0c, 0xff, 1 },
	{ 0x39b5, 0x1c, 0xff, 1 },
	{ 0x39b6, 0x38, 0xff, 1 },
	{ 0x39b7, 0x5b, 0xff, 1 },
	{ 0x39b8, 0x50, 0xff, 1 },
	{ 0x39b9, 0x38, 0xff, 1 },
	{ 0x39ba, 0x20, 0xff, 1 },
	{ 0x39bb, 0x10, 0xff, 1 },
	{ 0x39bc, 0x0c, 0xff, 1 },
	{ 0x39bd, 0x16, 0xff, 1 },
	{ 0x39be, 0x21, 0xff, 1 },
	{ 0x39bf, 0x36, 0xff, 1 },
	{ 0x39c0, 0x3b, 0xff, 1 },
	{ 0x39c1, 0x2a, 0xff, 1 },
	{ 0x39c2, 0x16, 0xff, 1 },
	{ 0x39c3, 0x0c, 0xff, 1 },
	{ 0x39c5, 0x30, 0xff, 1 },
	{ 0x39c6, 0x07, 0xff, 1 },
	{ 0x39c7, 0xf8, 0xff, 1 },
	{ 0x39c9, 0x07, 0xff, 1 },
	{ 0x39ca, 0xf8, 0xff, 1 },
	{ 0x39cc, 0x00, 0xff, 1 },
	{ 0x39cd, 0x1b, 0xff, 1 },
	{ 0x39ce, 0x00, 0xff, 1 },
	{ 0x39cf, 0x00, 0xff, 1 },
	{ 0x39d0, 0x1b, 0xff, 1 },
	{ 0x39d1, 0x00, 0xff, 1 },
	{ 0x39e2, 0x15, 0xff, 1 },
	{ 0x39e3, 0x87, 0xff, 1 },
	{ 0x39e4, 0x12, 0xff, 1 },
	{ 0x39e5, 0xb7, 0xff, 1 },
	{ 0x39e6, 0x00, 0xff, 1 },
	{ 0x39e7, 0x8c, 0xff, 1 },
	{ 0x39e8, 0x01, 0xff, 1 },
	{ 0x39e9, 0x31, 0xff, 1 },
	{ 0x39ea, 0x01, 0xff, 1 },
	{ 0x39eb, 0xd7, 0xff, 1 },
	{ 0x39ec, 0x08, 0xff, 1 },
	{ 0x39ed, 0x00, 0xff, 1 },
	{ 0x3e00, 0x00, 0xff, 1 },
	{ 0x3e01, 0x8c, 0xff, 1 },
	{ 0x3e02, 0x00, 0xff, 1 },
	{ 0x3e08, 0x03, 0xff, 1 },
	{ 0x3e09, 0x40, 0xff, 1 },
	{ 0x3e0e, 0x09, 0xff, 1 },
	{ 0x3e14, 0x31, 0xff, 1 },
	{ 0x3e16, 0x00, 0xff, 1 },
	{ 0x3e17, 0xac, 0xff, 1 },
	{ 0x3e18, 0x00, 0xff, 1 },
	{ 0x3e19, 0xac, 0xff, 1 },
	{ 0x3e1b, 0x3a, 0xff, 1 },
	{ 0x3e1e, 0x76, 0xff, 1 },
	{ 0x3e25, 0x23, 0xff, 1 },
	{ 0x3e26, 0x40, 0xff, 1 },
	{ 0x4501, 0xa4, 0xff, 1 },
	{ 0x4509, 0x10, 0xff, 1 },
	{ 0x450d, 0x08, 0xff, 1 },
	{ 0x4837, 0x2c, 0xff, 1 },
	{ 0x5799, 0x06, 0xff, 1 },
	{ 0x57aa, 0x2f, 0xff, 1 },
	{ 0x57ab, 0xff, 0xff, 1 },
	{ 0x36e9, 0x29, 0xff, 1 },
	{ 0x36f9, 0x29, 0xff, 1 },
    //{0x0100, 0x01, 0xFF, 1}, //stream on

    { 0x0000, 0x0000, 0x0000, 0x0000 },
};

static acam_reg_t wdr_1920_1080_30fps_446Mbps_4lane_10bits_binning[] = {
	{0x0103, 0x01, 0xff, 1},
	{0x0100, 0x00, 0xff, 1},
	{0x36e9, 0x80, 0xff, 1},
	{0x36f9, 0x80, 0xff, 1},
	{0x3018, 0x72, 0xff, 1},
	{0x3019, 0x00, 0xff, 1},
	{0x301f, 0x3a, 0xff, 1},
	{0x3031, 0x0a, 0xff, 1},
	{0x3037, 0x20, 0xff, 1},
	{0x3038, 0x44, 0xff, 1},
	{0x3200, 0x00, 0xff, 1},
	{0x3201, 0x08, 0xff, 1},
	{0x3202, 0x00, 0xff, 1},
	{0x3203, 0x08, 0xff, 1},
	{0x3204, 0x0f, 0xff, 1},
	{0x3205, 0x17, 0xff, 1},
	{0x3206, 0x08, 0xff, 1},
	{0x3207, 0x87, 0xff, 1},
	{0x3208, 0x07, 0xff, 1},
	{0x3209, 0x80, 0xff, 1},
	{0x320a, 0x04, 0xff, 1},
	{0x320b, 0x38, 0xff, 1},
	{0x320c, 0x05, 0xff, 1},
	{0x320d, 0x28, 0xff, 1},
	{0x320e, 0x08, 0xff, 1},
	{0x320f, 0xca, 0xff, 1},
	{0x3210, 0x00, 0xff, 1},
	{0x3211, 0x04, 0xff, 1},
	{0x3212, 0x00, 0xff, 1},
	{0x3213, 0x04, 0xff, 1},
	{0x3214, 0x31, 0xff, 1},
	{0x3215, 0x31, 0xff, 1},
	{0x3220, 0x5c, 0xff, 1},
	{0x3241, 0x00, 0xff, 1},
	{0x3243, 0x03, 0xff, 1},
	{0x3248, 0x04, 0xff, 1},
	{0x3250, 0x3f, 0xff, 1},
	{0x3271, 0x1c, 0xff, 1},
	{0x3273, 0x1f, 0xff, 1},
	{0x3301, 0x1c, 0xff, 1},
	{0x3302, 0x10, 0xff, 1},
	{0x3304, 0x30, 0xff, 1},
	{0x3306, 0x60, 0xff, 1},
	{0x3308, 0x14, 0xff, 1},
	{0x3309, 0x60, 0xff, 1},
	{0x330a, 0x00, 0xff, 1},
	{0x330b, 0xd8, 0xff, 1},
	{0x330c, 0x0a, 0xff, 1},
	{0x330d, 0x20, 0xff, 1},
	{0x330e, 0x58, 0xff, 1},
	{0x3314, 0x98, 0xff, 1},
	{0x331e, 0x21, 0xff, 1},
	{0x331f, 0x51, 0xff, 1},
	{0x3332, 0x1e, 0xff, 1},
	{0x334a, 0x18, 0xff, 1},
	{0x334c, 0x10, 0xff, 1},
	{0x3350, 0x1e, 0xff, 1},
	{0x3358, 0x1e, 0xff, 1},
	{0x335c, 0x1e, 0xff, 1},
	{0x335d, 0x60, 0xff, 1},
	{0x3360, 0x40, 0xff, 1},
	{0x3362, 0x72, 0xff, 1},
	{0x3366, 0x4a, 0xff, 1},
	{0x3367, 0x08, 0xff, 1},
	{0x3368, 0x0e, 0xff, 1},
	{0x3369, 0x00, 0xff, 1},
	{0x336a, 0x00, 0xff, 1},
	{0x336b, 0x00, 0xff, 1},
	{0x336c, 0xc2, 0xff, 1},
	{0x336f, 0x58, 0xff, 1},
	{0x337f, 0x33, 0xff, 1},
	{0x339e, 0x1e, 0xff, 1},
	{0x33a0, 0x1e, 0xff, 1},
	{0x33a4, 0x1e, 0xff, 1},
	{0x33aa, 0x1e, 0xff, 1},
	{0x33af, 0x48, 0xff, 1},
	{0x33b9, 0x0e, 0xff, 1},
	{0x33e1, 0x08, 0xff, 1},
	{0x33e2, 0x18, 0xff, 1},
	{0x33e3, 0x10, 0xff, 1},
	{0x33e4, 0x0c, 0xff, 1},
	{0x33e5, 0x10, 0xff, 1},
	{0x33e6, 0x06, 0xff, 1},
	{0x33e7, 0x02, 0xff, 1},
	{0x33e8, 0x18, 0xff, 1},
	{0x33e9, 0x10, 0xff, 1},
	{0x33ea, 0x0c, 0xff, 1},
	{0x33eb, 0x10, 0xff, 1},
	{0x33ec, 0x04, 0xff, 1},
	{0x33ed, 0x02, 0xff, 1},
	{0x33ee, 0xa0, 0xff, 1},
	{0x33ef, 0x08, 0xff, 1},
	{0x33f4, 0x18, 0xff, 1},
	{0x33f5, 0x10, 0xff, 1},
	{0x33f6, 0x0c, 0xff, 1},
	{0x33f7, 0x10, 0xff, 1},
	{0x33f8, 0x06, 0xff, 1},
	{0x33f9, 0x02, 0xff, 1},
	{0x33fa, 0x18, 0xff, 1},
	{0x33fb, 0x10, 0xff, 1},
	{0x33fc, 0x0c, 0xff, 1},
	{0x33fd, 0x10, 0xff, 1},
	{0x33fe, 0x04, 0xff, 1},
	{0x33ff, 0x02, 0xff, 1},
	{0x360f, 0x01, 0xff, 1},
	{0x3620, 0x48, 0xff, 1},
	{0x3622, 0xf7, 0xff, 1},
	{0x3624, 0x45, 0xff, 1},
	{0x3628, 0x83, 0xff, 1},
	{0x3630, 0x80, 0xff, 1},
	{0x3631, 0x80, 0xff, 1},
	{0x3632, 0xa8, 0xff, 1},
	{0x3633, 0x53, 0xff, 1},
	{0x3635, 0x02, 0xff, 1},
	{0x3636, 0x11, 0xff, 1},
	{0x3637, 0x10, 0xff, 1},
	{0x3638, 0x0a, 0xff, 1},
	{0x363a, 0x88, 0xff, 1},
	{0x363b, 0x06, 0xff, 1},
	{0x363d, 0x01, 0xff, 1},
	{0x363e, 0x00, 0xff, 1},
	{0x3641, 0x00, 0xff, 1},
	{0x3670, 0x4a, 0xff, 1},
	{0x3671, 0xf7, 0xff, 1},
	{0x3672, 0xf7, 0xff, 1},
	{0x3673, 0x17, 0xff, 1},
	{0x3674, 0x80, 0xff, 1},
	{0x3675, 0x85, 0xff, 1},
	{0x3676, 0xa5, 0xff, 1},
	{0x367a, 0x48, 0xff, 1},
	{0x367b, 0x78, 0xff, 1},
	{0x367c, 0x48, 0xff, 1},
	{0x367d, 0x78, 0xff, 1},
	{0x3690, 0x53, 0xff, 1},
	{0x3691, 0x63, 0xff, 1},
	{0x3692, 0x54, 0xff, 1},
	{0x3699, 0x88, 0xff, 1},
	{0x369a, 0x88, 0xff, 1},
	{0x369b, 0x88, 0xff, 1},
	{0x369c, 0x48, 0xff, 1},
	{0x369d, 0x78, 0xff, 1},
	{0x36a2, 0x48, 0xff, 1},
	{0x36a3, 0x78, 0xff, 1},
	{0x36bb, 0x48, 0xff, 1},
	{0x36bc, 0x78, 0xff, 1},
	{0x36c9, 0x05, 0xff, 1},
	{0x36ca, 0x05, 0xff, 1},
	{0x36cb, 0x05, 0xff, 1},
	{0x36cc, 0x00, 0xff, 1},
	{0x36cd, 0x10, 0xff, 1},
	{0x36ce, 0x1a, 0xff, 1},
	{0x36d0, 0x30, 0xff, 1},
	{0x36d1, 0x48, 0xff, 1},
	{0x36d2, 0x78, 0xff, 1},
	{0x36ea, 0x75, 0xff, 1},
	{0x36eb, 0x14, 0xff, 1},
	{0x36ec, 0x05, 0xff, 1},
	{0x36ed, 0x34, 0xff, 1},
	{0x36fa, 0x75, 0xff, 1},
	{0x36fb, 0x14, 0xff, 1},
	{0x36fc, 0x10, 0xff, 1},
	{0x36fd, 0x34, 0xff, 1},
	{0x3802, 0x01, 0xff, 1},
	{0x3901, 0x00, 0xff, 1},
	{0x3902, 0xc5, 0xff, 1},
	{0x3904, 0x18, 0xff, 1},
	{0x3905, 0xd8, 0xff, 1},
	{0x394c, 0x0f, 0xff, 1},
	{0x394d, 0x20, 0xff, 1},
	{0x394e, 0x08, 0xff, 1},
	{0x394f, 0x90, 0xff, 1},
	{0x3980, 0x71, 0xff, 1},
	{0x3981, 0x70, 0xff, 1},
	{0x3982, 0x00, 0xff, 1},
	{0x3983, 0x00, 0xff, 1},
	{0x3984, 0x20, 0xff, 1},
	{0x3987, 0x0b, 0xff, 1},
	{0x3990, 0x03, 0xff, 1},
	{0x3991, 0xfd, 0xff, 1},
	{0x3992, 0x03, 0xff, 1},
	{0x3993, 0xfc, 0xff, 1},
	{0x3994, 0x00, 0xff, 1},
	{0x3995, 0x00, 0xff, 1},
	{0x3996, 0x00, 0xff, 1},
	{0x3997, 0x05, 0xff, 1},
	{0x3998, 0x00, 0xff, 1},
	{0x3999, 0x09, 0xff, 1},
	{0x399a, 0x00, 0xff, 1},
	{0x399b, 0x12, 0xff, 1},
	{0x399c, 0x00, 0xff, 1},
	{0x399d, 0x12, 0xff, 1},
	{0x399e, 0x00, 0xff, 1},
	{0x399f, 0x18, 0xff, 1},
	{0x39a0, 0x00, 0xff, 1},
	{0x39a1, 0x14, 0xff, 1},
	{0x39a2, 0x03, 0xff, 1},
	{0x39a3, 0xe3, 0xff, 1},
	{0x39a4, 0x03, 0xff, 1},
	{0x39a5, 0xf2, 0xff, 1},
	{0x39a6, 0x03, 0xff, 1},
	{0x39a7, 0xf6, 0xff, 1},
	{0x39a8, 0x03, 0xff, 1},
	{0x39a9, 0xfa, 0xff, 1},
	{0x39aa, 0x03, 0xff, 1},
	{0x39ab, 0xff, 0xff, 1},
	{0x39ac, 0x00, 0xff, 1},
	{0x39ad, 0x06, 0xff, 1},
	{0x39ae, 0x00, 0xff, 1},
	{0x39af, 0x09, 0xff, 1},
	{0x39b0, 0x00, 0xff, 1},
	{0x39b1, 0x12, 0xff, 1},
	{0x39b2, 0x00, 0xff, 1},
	{0x39b3, 0x22, 0xff, 1},
	{0x39b4, 0x0c, 0xff, 1},
	{0x39b5, 0x1c, 0xff, 1},
	{0x39b6, 0x38, 0xff, 1},
	{0x39b7, 0x5b, 0xff, 1},
	{0x39b8, 0x50, 0xff, 1},
	{0x39b9, 0x38, 0xff, 1},
	{0x39ba, 0x20, 0xff, 1},
	{0x39bb, 0x10, 0xff, 1},
	{0x39bc, 0x0c, 0xff, 1},
	{0x39bd, 0x16, 0xff, 1},
	{0x39be, 0x21, 0xff, 1},
	{0x39bf, 0x36, 0xff, 1},
	{0x39c0, 0x3b, 0xff, 1},
	{0x39c1, 0x2a, 0xff, 1},
	{0x39c2, 0x16, 0xff, 1},
	{0x39c3, 0x0c, 0xff, 1},
	{0x39c5, 0x30, 0xff, 1},
	{0x39c6, 0x07, 0xff, 1},
	{0x39c7, 0xf8, 0xff, 1},
	{0x39c9, 0x07, 0xff, 1},
	{0x39ca, 0xf8, 0xff, 1},
	{0x39cc, 0x00, 0xff, 1},
	{0x39cd, 0x1b, 0xff, 1},
	{0x39ce, 0x00, 0xff, 1},
	{0x39cf, 0x00, 0xff, 1},
	{0x39d0, 0x1b, 0xff, 1},
	{0x39d1, 0x00, 0xff, 1},
	{0x39e2, 0x15, 0xff, 1},
	{0x39e3, 0x87, 0xff, 1},
	{0x39e4, 0x12, 0xff, 1},
	{0x39e5, 0xb7, 0xff, 1},
	{0x39e6, 0x00, 0xff, 1},
	{0x39e7, 0x8c, 0xff, 1},
	{0x39e8, 0x01, 0xff, 1},
	{0x39e9, 0x31, 0xff, 1},
	{0x39ea, 0x01, 0xff, 1},
	{0x39eb, 0xd7, 0xff, 1},
	{0x39ec, 0x08, 0xff, 1},
	{0x39ed, 0x00, 0xff, 1},
	{0x3e00, 0x00, 0xff, 1},
	{0x3e01, 0x8c, 0xff, 1},
	{0x3e02, 0x00, 0xff, 1},
	{0x3e08, 0x03, 0xff, 1},
	{0x3e09, 0x40, 0xff, 1},
	{0x3e0e, 0x09, 0xff, 1},
	{0x3e13, 0x40, 0xff, 1},
	{0x3e14, 0x31, 0xff, 1},
	{0x3e16, 0x00, 0xff, 1},
	{0x3e17, 0xac, 0xff, 1},
	{0x3e18, 0x00, 0xff, 1},
	{0x3e19, 0xac, 0xff, 1},
	{0x3e1b, 0x3a, 0xff, 1},
	{0x3e1e, 0x76, 0xff, 1},
	{0x3e23, 0x00, 0xff, 1},
	{0x3e24, 0x8b, 0xff, 1},
	{0x3e25, 0x23, 0xff, 1},
	{0x3e26, 0x40, 0xff, 1},
	{0x4501, 0xa4, 0xff, 1},
	{0x4509, 0x10, 0xff, 1},
	{0x450d, 0x08, 0xff, 1},
	{0x4816, 0x51, 0xff, 1},
	{0x4837, 0x2c, 0xff, 1},
	{0x5799, 0x06, 0xff, 1},
	{0x57aa, 0x2f, 0xff, 1},
	{0x57ab, 0xff, 0xff, 1},
	{0x36e9, 0x29, 0xff, 1},
	{0x36f9, 0x29, 0xff, 1},
    //{0x0100, 0x01, 0xFF, 1}, //stream on

    { 0x0000, 0x0000, 0x0000, 0x0000 },
};


static acam_reg_t settings_context_sc8238cs[] = {
    //stop sequence - address is 0x0000
    { 0x0000, 0x0000, 0x0000, 0x0000 }
};

static const acam_reg_t *sc8238cs_seq_table[] = {
        linear_1920_1080_30fps_702Mbps_4lane_10bits_binning,
        linear_3840_2160_30fps_702Mbps_4lane_10bits,
        wdr_1920_1080_30fps_446Mbps_4lane_10bits_binning,
        wdr_3840_2160_15fps_702Mbps_4lane_10bits,
        linear_1920_1080_30fps_702Mbps_4lane_10bits_crop,
        wdr_1920_1080_30fps_446Mbps_4lane_10bits_crop,
};

static const acam_reg_t *isp_seq_table[] = {
        settings_context_sc8238cs,
};

#define SENSOR_SC8238CS_SEQUENCE_DEFAULT sc8238cs_seq_table
#define SENSOR_SC8238_ISP_CONTEXT_SEQUENCE isp_seq_table

#define SENSOR_SC8238CS_SEQUENCE_1920_1080_30FPS_10BIT_4LANE_BINNING  0
#define SENSOR_SC8238CS_SEQUENCE_3840_2160_30FPS_10BIT_4LANE  1
#define SENSOR_SC8238CS_SEQUENCE_1920_1080_30FPS_10BIT_4LANE_WDR_BINNING  2
#define SENSOR_SC8238CS_SEQUENCE_3840_2160_15FPS_10BIT_4LANE_WDR  3
#define SENSOR_SC8238CS_SEQUENCE_1920_1080_30FPS_10BIT_4LANE_CROP  4
#define SENSOR_SC8238CS_SEQUENCE_1920_1080_30FPS_10BIT_4LANE_WDR_CROP  5

#define SENSOR_SC8238CS_CONTEXT_SEQ  0

#endif // __SC8238CS_SEQ_H__
